import service from "../index";

export const getAllReview = async () => {
  return await service({
    method: "get",
    url: "/review/getAllReview",
  });
};

export const reviewHomestay = async (params: any) => {
  return await service({
    method: "post",
    url: "/review/reviewHomestay",
    data: params,
  });
};
